//字体大小
$size12:12px;
$size14:14px;
$size16:16px;
$size18:18px;
$size20:20px;
$size22:22px;
$size24:24px;
//颜色
$c_409EFF:#409EFF;
$c_F00:#F00;
$c_DDD:#DDD;
$c_000:#000;
$c_FFF:#FFF;
$c_999:#999;
$c_07c160:#07c160;//
$c_FFC0CB:#FFC0CB;
$c_ff7f50:#ff7f50;
$c_8B0016:#8B0016;
$c_555:#555;
/*
    定义函数并给默认值
*/
//设置高度和行高
@mixin lineHeight($h,$lh:$h){
    line-height: $lh;
    height: $h;
}
//设置宽度和高度
@mixin widthHeight($width:100%,$height:$width){
    width:$width;
    height: $height;
}
//
@mixin borderRadius($top,$right:$top,$left:$right,$bottom:$top){
   border-radius:$top $right $bottom $left;
   -webkit-border-radius:  $top $right $bottom $left
}
//定位
@mixin positionFlex($l:0,$t:0,$xPosition:left,$yPosition:top){
    position: fixed;
    #{$xPosition}: $l;
    #{$yPosition}: $t;
}
@mixin positionAbsolute($l:0,$t:0,$xPosition:left,$yPosition:top){
    position: absolute;
    #{$xPosition}: $l;
    #{$yPosition}: $t;
}
//设置 flex 的位置
@mixin flexItemsContent($itemsPosition:center,$justifyPosition:center){
    display: flex;
    align-items: $itemsPosition;
    justify-content:$justifyPosition;
}
//设置弹性布局占比
@mixin flex($number:1){
    flex:$number;
    -webkit-flex:$number
}

